package com.cskaoyan.service.admin.promotion;

import com.cskaoyan.bean.MarketCoupon;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

/*
 * @Auther:王贲
 * @Date:2022/9/7
 * @Description:
 * @VERSON:1.8
 */
public interface AdminCouponService {
    CommonData selectCouponInfo(BasePageInfo basePageInfo, String name, Integer type, Integer status);

    void insertCouponInfo(MarketCoupon marketCoupon);

    CommonData selectListuserInfo(BasePageInfo basePageInfo, Integer couponId);

    MarketCoupon selectCouponInfoById(Integer id);

    void deleteCouponInfo(MarketCoupon marketCoupon);

    void updateCouponStates(MarketCoupon marketCoupon);
}
